Added maxValue function to find the maximum value in a Binary Search Tree.