changed formatting, move rowcol_to_x/y to tile.h/cpp