fix module definition of keypad

the module defintion of keypad wasn't conforming to standard formatting
fix sevensegment formatting
implement fsm

implemented part of the fsm
updated the alarmclock test to simulate letting the alarm clock tick,
settting the current time, and displaying the set alarm time