Changed readinput.c (Tommy)