added push and pop function to BinaryHeap Object