binary heap implementation with splay commented