Fixed compile time issues, implemented FSM

Created reg4 for the card reader, fixed compile issues in 7segs, created
an alpha for the state machine. Hoping it works...