leetcode preOrder traversal