Fix pop logic
Merge pull request #8 from johnshiver/binheap

Fix pop logic