add key map to priority queue
add comment highlighting my understanding of maps. :|