Evaluating key codes with switch statement vs a Vector 2

