Modified reverseList(), rename parameters for consistency

Changed implementation to modifying pointers instead of using an array.
 Changed all parameters of “ListPtr L” to “ListPtr list”