Write a section of c code to iterate through a list, swapping the contents of the 1st element with the last, 2nd with 2nd to
last, etc. This is effectively reversing the order of the list.
The list can be referenced via the variables below, assume all
memory has already been allocated.