public static char rightOf(char direction){		//determine the direction to the right of this one
		switch(direction){
		case '1':
			return '4';
		case '2':
			return'1';
		case '3':
			return '2';
		case '4':
			return '7';
		case '6':
			return '3';
		case '7':
			return '8';
		case '8':
			return '9';
		case '9':
			return '6';
		default:		
			return '0';
		}
	}