Preorder traversal

recursive