A little tidying on the fifth lesson

Moving to switch/case for keyboard event handling,
rather than sequentially chained 'if' statements.

For the fifth tutorial, this should conclude the keyboard
event-handling tidying: there's no need to use isKeyPressed

Also did some reformatting/whitespace-removal on previous lessons.