"keypad" was not declared in this scope

You missed this part:

Some stuff to help you on your way (click!)