Implemented Heap sort and unit test for it