refactored Heap to include min and max heaps. Also went through all tests and made minor refactors
refactored Heap to include min and max heaps. Also went through all tests and made minor refactors