Cleaned up Demo.java and introduced HeapSelectionSort.