tile() now returns a 2D array
rows()
convert to pgm