generate .png image of the grid
fixed conflicts