Added some classes/functions for dungeon mapping

Likely these will be heavily modified or removed in our actual game, but
rectangles will be good to have around at least, and it means can follow
the tutorial more closely.