Grid using ncurses