adding curses example program