added some simple heap stuff
added some simple heap stuff