public void setBombs(){
		boolean duplicateBomb=true; // checks for bombs with the same x,y coordinates 
		Random numGenerator = new Random();
		int xcoord,ycoord;
		for(int numBombs=0;numBombs<10;numBombs++){
			xcoord = numGenerator.nextInt(10);
			ycoord = numGenerator.nextInt(10);
			duplicateBomb=true;
			while(duplicateBomb){//keep generating random numbers until a unique coordinate is found
				for(int j=0;j<numBombs;j++){
					if(xcoord==bombs[j][0] && ycoord==bombs[j][1]){//if a bomb exists at this set of coords, generate new coords and break out
						duplicateBomb=true;
						xcoord = numGenerator.nextInt(10);
						ycoord = numGenerator.nextInt(10);
						break;
					}
					duplicateBomb=false;//no bomb? fahgettabotit - http://www.youtube.com/watch?v=z-CL9qVG9iI
				}
				if(!duplicateBomb || numBombs==0){//unique coordinates are stored in bombs[][]; loop is ended
					bombs[numBombs][0]=xcoord;
					bombs[numBombs][1]=ycoord;
					break;
				}	
			}
			grid[xcoord][ycoord].isBomb=true;// set boolean to show this tile is a bomb
		}
	}