Added stuff to room module and utilities. Also added a priority queue.