Provided static Heapsort class for encapsulated sorting. Also added tests for Heapsort.