Pocket Gems interview question

binary tree to string