private void move(int location){
		if(location == 0){
			x=1;
			y=1;
		}
		else if(location == 1){
			x=1;
			y=2;
		}
		else if(location == 2){
			x=1;
			y=3;
		}
		else if(location == 3){
			x=2;
			y=1;
		}
		else if(location == 4){
			x=2;
			y=2;
		}
		else if(location == 5){
			x=2;
			y=3;
		}
		else if(location == 6){
			x=3;
			y=1;
		}
		else if(location == 7){
			x=3;
			y=2;
		}
		else if(location == 8){
			x=3;
			y=3;
		}
	}