A text editor written under the guidance of the following tutorial http://viewsourcecode.org/snaptoken/kilo/01.setup.html