assignment 3:  inOrder