Game of life using ncurses for visualization