basic word guess game in c