Game of Life in C with Curses