Recover binary search tree - recursive solution