Fixed small errors throughout the isHeap() function and put in a random number generator so you can try multiple sets of numbers to see if the heap property is maintained.