Finished emacs from scratch part 1