Arduino code for an alarm clock that turns off after an equation is solved