solved symmetrict tree problem