Fix x- and y-values in example.

They worked fine for square grids, but not for rectangular, as they were
incorrectly swapped.