add the solution of Construct Binary Tree from Preorder and Inorder Traversal  problem in leetcode and refactor code