Implemented a few functions in editor.c

Implemented a few small functions in `editor.c` and labelled two new addresses