a small implementation of the famous game of life