sem2hw3task1: Added new sorter which uses heapsort algorithm