Rotor(int number, int pos, Rotor next){
		rotorNum = number;
		currentPos = initialPos = pos;
		nextRotor = next;
		
		switch (rotorNum) {
		case 1:
			rotor = I;
			notch1 = IPEG;
			notch2 = -1;
		break;
		case 2:
			rotor = II;
			notch1 = IIPEG;
			notch2 = -1;
		break;
		case 3:
			rotor = III;
			notch1 = IIIPEG;
			notch2 = -1;
		break;
		case 4:
			rotor = IV;
			notch1 = IVPEG;
			notch2 = -1;
		break;
		case 5:
			rotor = V;
			notch1 = VPEG;
			notch2 = -1;
		break;
		case 6:
			rotor = VI;
			notch1 = VIPEG1;
			notch2 = VIPEG2;
		break;
		case 7:
			rotor = VII;
			notch1 = VIIPEG1;
			notch2 = VIIPEG2;
		break;
		case 8:
			rotor = VIII;
			notch1 = VIIIPEG1;
			notch2 = VIIIPEG2;
		break;
		}
		for (int i = 0; i < Rotor.ROTORSIZE; i++)
	        inverseRotor[rotor[i]] = i;	
	}