Update INPUTFUNCTION

getch function has been added