Program using a button timer

there's no need because the arduino processor has a built-in pullup resistor

does this require the use of interrupts?