fixed two bugs, if reps is only 1 then print the word 'Rep', also fixed intervals printing. Needed a second equals sign