Java -Timer
import java.util.Timer;
Timer timer = new Timer();
int millis = 1000; //n*1000 millisecond = n second --> n minutes = n*60*1000
timer.schedule(new TimerTask() {
@Override
public void run() {
//what to do
}
}, millis);
PizzaSolver