My first attempt to make the script work

Because the keys didn't work in the original version of the task I have
changed the arrow key responses to "a" and "d".
Text_edit

Script is now running, but further formatting is necessary for the text.
Text_Final

All the text should fit the screen now, and all of the task is running.