corrected xrange yrange print output, by adding x0y0