LineEditor V1.0 Working

TODO: build a more efficient algorithm for replace_text(char[] newText,
int beginIndex, int endIndex)