Made testing map depend on actual size of map. Fixed up NodeFactory to reflect these changes. Stopped out of bounds error in the TileMap