Create printTreePath