I am trying to solve a question in which you have to find the node in a binary tree whose value is closest to the value given by the user, My function returns undefined, can som