p58 symmetric binary tree generate and test