Create constructTreeFromtraversal.c