let tile_to_string t = sprintf "%c%d%02d" (match t.surface with `Top -> '1' | `Bottom -> '2') t.swath t.number