ArrayList tiles = new ArrayList();
int [] randomTiles = new int[10];
Random num = new Random();
for(int x = 0; x < 81; x++)
{
tiles.add(x);
}
int not = 81;
for(int x = 0; x < 10; x++, not --)
{
int index = num.nextInt(not);
randomTiles[x] = tiles.get(index);
tiles.remove(index);
}
