public void going()
	{
		
		change();
		try 
			{
    			Thread.sleep(500);
			} 
			catch(InterruptedException ex) 
			{
    			Thread.currentThread().interrupt();
			}
		
		count=0;
		for(int i=0;i<10;i++)
		{
			for(int j=0;j<10;j++)
			{
				if(sq[i][j].newLife)
					count++;
			}
		}
		
		if(count!=0&&flag);
			going();

	}