inOrder traversion for output