Add solution to 'flattern binary tree to linked list'.