Reverse a simple linked list using a iteratively method