Create getTreeHeight.c