Created a new class so that multiple "games of life" can be instantiated.