public static int getSpace(int board, int space) {
		switch (space) {
		case 0:	return (board / 100000000)%10;
		case 1:	return (board / 10000000)%10;
		case 2:	return (board / 1000000)%10;
		case 3:	return (board / 100000)%10;
		case 4:	return (board / 10000)%10;
		case 5:	return (board / 1000)%10;
		case 6:	return (board / 100)%10;
		case 7:	return (board / 10)%10;
		case 8:	return (board / 1)%10;
		default: return -1;
		}
	}