add a new solution
fix bugs in symmetric tree