Added key listener, when up or down arrow is pressed, program responds with output, though does not scale as a result.