add isFull() feature in binaryHeap