main is mostly done
header file done
fixing header and adding create/destroy functions
done building tree
freeing memory
removing unused variable