Heap sort.c

This algorithm is in-place and non-recursive.