Reverse A Singly Linked List In Python