My implementation of heap algorithms, including heap creation, sorting and adjusting.