solved first binary tree problem