Move Lesson 8 to isKeyPressed

Lesson 8 now uses isKeyPressed for keyboard event handling,
treating horizontal and vertical movement input independently.

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