Update Sorts.cpp

Added templates for HeapSort and MergeSort