Rudimentary implementation of a binary heap. WIP.