add NewMinHeap and NewMaxHeap
Merge pull request #2 from aaylward/nicerapi

add NewMinHeap and NewMaxHeap