Reverse the linkedList(Iterate version)