public abstract class Sensor {
	abstract public int value();
}

public abstract class Motor {
	abstract public void move(int direction);
	public Sensor x;
	public Sensor y;
	abstract public int clock();
}
 
public abstract class DiagnosticPanel {
	abstract public void registerPlan(int steps, int[] col, int[] row);
    abstract public void registerRock(int x, int y);
}

public class Robot implements Runnable {
	// YOUR DECLARATIONS GO HERE!


        
	// Robot constructor
	public Robot (int size,   // crater length and width 
				  Motor m,    // motor assembly
				  Sensor sx,  // gnat's x position
				  Sensor sy,  // gnat's y position
				  DiagnosticPanel p // diag. interface
				  ) {


		// YOUR CODE GOES HERE!


	}

	public void run() {


       // YOUR CODE GOES HERE


	}
}

