Refactored calcAdjacencies, RoomCell, and BadConfigFormatException