Created heap-sort algorithm class and test class.