Also, it turned out that the checkerboard formula was a bit more complicated than I thought. This should work, and let you change the values of h and i to control the how many squares across and down you have. Nivek's formula is groovy, so I used it for this example.