Preorder Traversal Using Stack Leetcode Problems