implementation of BinaryHeap & test with UnEntier