Modified notes for fgets end of input