Added use of ncurses library