Implemented BinaryHeap using Python list.