improved inOrderTraversal, but noticed errors
refactored insert to have access to new tree object's ancestors