all done and ugly :)

Magic #s are bad. These should use globally defined constants for the loop instead of 1..7, e.g. (1..NUM_COLS).