inOrderTraversing method