Added function to search a bst for the closest value to the given value