Now added a getch to the end of the nAddEntry() function so that a wrong input can be discarded