fixed compile errors in makeTree. changed head.left to head->left and used new keyword to create left_node and right_node.