private void spawnRandom() {
		Random random = new Random();
		boolean notValid = true;
		while (notValid) {
			int location = random.nextInt(ROWS * COLS);
			int row = location / ROWS;
			int col = location % COLS;
			Tile current = board[row][col];
			if (current == null) {
				RubiksColors which = null;
				while(true){
					int value = random.nextInt(6);
				if (value == 0) {
					if(yellowCount<4){
					which = RubiksColors.yellow;
					screenColors[row][col]=which;
					yellowCount++;
					break;
					}
				} else if (value == 1) {
					if(whiteCount<4){
					which = RubiksColors.white;
					screenColors[row][col]=which;
					whiteCount++;
					break;
					}
				} else if (value == 2) {
					if(redCount<4){
					which = RubiksColors.red;
					screenColors[row][col]=which;
					redCount++;
					break;
					}
				} else if (value == 3) {
					if(blueCount<4){
					which = RubiksColors.blue;
					screenColors[row][col]=which;
					blueCount++;
					break;
					}
				} else if (value == 4) {
					if(orangeCount<4){
					which = RubiksColors.orange;
					screenColors[row][col]=which;
					orangeCount++;
					break;
					}
				} else if (value == 5) {
					if(greenCount<4){
					which = RubiksColors.green;
					screenColors[row][col]=which;
					greenCount++;
					break;
					}
				}
				}
				Tile tile = new Tile(which, getTileX(col), getTileY(row));
				board[row][col] = tile;
				notValid = false;
			}
		}
	}