public void writeScores(){
		try
		{
			outFile = new FileWriter("scores.txt");
			for(int x = 0; x < numberOfScores; x++)
			{
				if(nameList.get(x).equals("") || nameList.get(x).equals("<Enter Name!>"))
				{
					outFile.write("PLAYER ");
				}
				else
				{
					outFile.write(nameList.get(x)+" ");
				}
				outFile.write(scoreList.get(x)+"");
				if(x!=9)
					outFile.write("\n");
			}
			outFile.close();
		}
		catch(IOException e)
		{
			System.err.println("Output scores.txt does not exist!");
			e.printStackTrace();
		}			
	}