Game of Life - terminal version using ncurses