Game of life implemented in a data structure to make it MVC and add more rules