Given a binary tree, flatten it to a linked list in-place.