myhashmap should be added to the mypriorityqueue implementation and see if it works. Also stack left to implement