Text adventure game in C