added several interfaces, working on MyPriorityQueue