Added code to free the tree