text editor in C.