Build tree from PreOrder, InOrder and PostOrder