Flatten a binary tree to Linked list, O(1) space

O(1) space, O(n) runtime