public static boolean createHighestScore(){
		/* sort vector based on score and name */
		int size = highestScoreV.size(), i;
		for(int j=0; j<size; j++){
			i = 0; 
			while(i<size-1){
				if(highestScoreV.elementAt(i).score() < highestScoreV.elementAt(i+1).score()){
					PlayerInfo tmp = highestScoreV.elementAt(i);
					highestScoreV.set(i, highestScoreV.elementAt(i+1));
					highestScoreV.set(i+1, tmp);
				}
				else if(highestScoreV.elementAt(i).score() == highestScoreV.elementAt(i+1).score() && 
						highestScoreV.elementAt(i).name().compareToIgnoreCase(highestScoreV.elementAt(i+1).name())>0){
					PlayerInfo tmp = highestScoreV.elementAt(i);
					highestScoreV.set(i, highestScoreV.elementAt(i+1));
					highestScoreV.set(i+1, tmp);
				}
				i++;
			}//end of while
		}//end of for
				
		try{
			//get a current directory
			File fCurrDir = new File(System.getProperty("user.dir"));
			existingfile = new File(fCurrDir + "/highestScore.txt");
						
			PlayerInfo p =null;
			outfile = new PrintWriter(new FileOutputStream(existingfile));
			outfile.printf("%s,%s,%s,%s%n", "Name", "Score", "Level", "Life");
			int cnt;
			for(i=0, cnt=0; i<size && cnt<10; i++, cnt++){ //save top 10 highest scores
				p = highestScoreV.elementAt(i);
				outfile.printf("%s,%d,%d,%d%n", p.name(),
								p.score(), p.level(), p.life());
			}
		}
		catch(IOException e){
			outfile.close();
			return false;
		}
		catch(Exception e){
			outfile.close();
			return false;
		}
		outfile.close();
		return true;
	}