Help with a program capable of producing two pulses lasting 1 second each