adding template changes to the serial sorting, removed unwanted files and added all the functions inside the sorting.h
made changes to the test files to accomodate the template changes