Added while loop to program.tiny