//main Reminder class
import java.util.Timer;
import java.util.TimerTask;
public class Reminder {
    Timer timer;
    public random r=new random();
    public int digits=0;

    public Reminder(int seconds) {
        timer = new Timer();
        timer.schedule(new RemindTask(), seconds);
}

    class RemindTask extends TimerTask {
        public void run() {
digits++;
if(digits>10){
System.out.println();
}
r.go();
            timer.cancel(); 
            new Reminder(100);
           
}
            
        }
    

    public static void main(String args[]) {
        new Reminder(100);
    }
}

random binary class

import java.util.Random;
public class random {
public void go(){
Random r= new Random();
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.print(r.nextInt(2));
System.out.println();
}
}

Why won't this run? Please Help