Implemented both top-bottom and bottom-top heapsorts