Checking for ncurses installation
Fixed missing main
did stuff