Adding a second implementation for heap - without sorted