Implemented room detection (first try?\!) and room connection detection. Still trying to figure out what to do about non-simply-connected maps