Standard input of string using fgets()