Removed readLine an used fget(STDIN) instea