Add timed program (TimedProg.java)