Updated logic.java

Added my repeat, not sure why it got deleted before