A game of life in C