Added room structure
added a priority queue