Added a rebalance method for the Binary Search Tree