Compledted writing Binary Tree program for asg3