Now outputs rooms into output file. Also de(re?)inverted y coordinates.