Classwork, framework for heap sort