Code for problem 124.
Added code to construct binary tree from preorder and inorder data.