Buttons and switch polling added; Timer0 initialization added