write code to build trees using in order and pre/post order