A chat in c