Adding the function reverseList() SWEEEET