Starter code for Bucket and Heap sort