Line 1:
1 0 1 0 1 0 1 | 1 1 0 1 -- set them to 1
1 0 1 0 1 0 1 | 1 1 0 1
1 0 0 0 0 0 0 | 1 1 0 1
0 0 0 0 0 0 0 | 1 1 0 0 -- make sure the 1 stays latched even when the
-- array values are changed around
0 0 0 0 0 0 0 | 1 1 0 0
0 0 0 0 0 0 0 | 1 1 0 0
1 0 0 1 0 1 0 | 1 1 0 1
1 0 0 1 0 1 0 | 1 1 0 1
1 0 1 0 1 0 0 | 1 1 0 1 -- set them back to 1
0 0 0 0 0 0 0 | 1 1 0 0
1 0 0 1 0 1 1 | 0 0 0 1 -- set them to 0
1 0 0 1 0 1 1 | 0 0 0 1
1 0 0 0 0 0 0 | 0 0 0 1
0 0 0 0 0 0 0 | 0 0 0 0 -- make sure the 0 stays latched even when the
-- array value is changed around
1 0 1 0 1 0 0 | 0 0 0 1
1 0 1 0 1 0 0 | 0 0 0 1
1 0 0 1 0 1 0 | 0 0 0 1 -- set it back to 0
0 0 0 0 0 0 0 | 0 0 0 0