Langton's ant by ncurses