private static void SaveToFile(String[][] playerInfo, int numPlayers) throws UnsupportedEncodingException {
		try {
			   PrintWriter writer = new PrintWriter("Horse Racing Input/playerData.dat");
			    writer.println(numPlayers);
			  
			   for (int i = 0; i < playerInfo.length; i++) {
			    writer.println(playerInfo[i][NAME] + " " + playerInfo[i][WALLET]);
			   }
			   writer.close();
			  } catch (FileNotFoundException e) {
			   
			   e.printStackTrace();
			  }
			 }