OOP Implementation of Conway's game of life