Handling corner case of passing an empty tree to minimum and maximum methods of the Binary Tree class.