Merge Sort Completed for all types of data but refactoring remaining