Fixed bug in Heap.ToEnumerable and added ExtractMin and ExtractMax along with associated unit tests.