Implemented insert() and inOrder().