public void saveScores() {

		try {
			File file = new File(
					"scores.txt");
			if (!file.exists()) {
				file.createNewFile();
			}
			FileWriter fw = new FileWriter(file.getAbsoluteFile());
			BufferedWriter bw = new BufferedWriter(fw);
			for (Person p : people) {
				bw.write(p.getName() + "\n");
				bw.write(p.getScore() + "\n");
			}
			bw.close();
		} catch (Exception e) {
			System.out.println("can't write to usedcommands.txt...");
		}
	}