My attempt at making a terminal based text editor. Kinda broken