added recover binary tree solution