A little tidying on lesson 7

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

For tutorial 7, we still have to move to isKeyPressed