Morris Traversal Using O(1) Space