Updated My5Heap class and resolve #4

Same as what was mentioned in line 85 where the condition when `priorityArray[j] == priorityArray[j + 1]` was not being considered.