adding example program for reading string within curses