myhashmap used now in prioqueue implementation. Not working correctly yet