John Conway's Game of life C++ (SDL)