Adding half-done implementation of heap