public static int getSpace(int i){
		
		switch (i) {
			case 1: return space[0][0];
          	case 2: return space[0][1];
          	case 3: return space[0][2];
          	case 4: return space[1][0];
            case 5: return space[1][1];
          	case 6: return space[1][2];
          	case 7: return space[2][0];
          	case 8: return space[2][1];
          	case 9: return space[2][2];
		}
		return -1;
	}