Added rooms and doors

Added the concept of rooms and doors to the program.