Primitive text editor in Java. Written as part of uni assignment.