Solution to Recover Binary Search Tree