add flaten binary tree