public static void main(String[] args) throws IOException {
		
			
		for(int i = 0 ; i<1 ; i++){
			
			String filename = "TestScriptOutcom/"+"MinimaxBoardSize"+4*(i+1)+".csv"; 
			FileWriter file = new FileWriter(filename);
			PrintWriter pw = new PrintWriter(file);
			
			for(int j = 0 ; j < 10 ; j++){
				long startTime = System.currentTimeMillis();
				String result = startGame(4*(1+i),states[j][0],states[j][1],states[j][2],states[j][3]);

				float elapsedTime;
				float elapsedTimeMilis = System.currentTimeMillis() - startTime;
				float elapsedTimeSec = elapsedTimeMilis/1000F;

				if(elapsedTimeSec > 60){
					elapsedTime = elapsedTimeSec/60;
					result += ",TimeToSolution#"+elapsedTime+"min ";
					
				}else{
					elapsedTime = elapsedTimeSec;
					result += "TimeToSolution#"+elapsedTime+"sec ";
				}
				pw.println("Game#"+j+",BoardSize#"+4*(1+i)+",FirstTileVal#"+states[j][0]+",FirstTilePosition#"+states[j][1]+",SecondTileVal#"+states[j][2]+",SecondTilePosition#"+states[j][3]+","+result);
			}
			pw.close();	
		}	
	}