updated findBST to return closest node