add balanced binary tree solution