Templated the Binary Search Tree