Changed the Binary Heap type to a concrete class as the compare function is now passed as a template parameter negating the need for extending the type purely to add the compare function.