Conway's game of Life using curses