Command line based editor written in C