Arduino sketch to drive a led matrix to display a clock and game of life