Fixed errors in genMap and getRoomAtIndex functions

 - Fixed the error in genMap which produced a stray passage in the last room of the map
 - Fixed the error in getRoomAtIndex which caused it to only return Nothing if the index was out-of-bounds in the negative direction; no longer produces out-of-bounds exceptions