Display and generate binary trees with TreeEditor