Checking EOF after calling getchar() and putting type definition of struct Room after declaring it
Getting just one character from stdin at once