Fixed the producing of the next generation. The tmp_grid used in the iteration couldn't start with the current grid it needed to start with a blank grid. It gets really slow because it creates the entire tmp_array every iteration. Instead it should become a class variable and just be cleared every time