added is empty method to binheap