A simple text editor that uses an array that redisplays itself each time a displayable character is pressed in the console buffer