private void userSave (ArrayList < String > command)
  {
	String filename=null;
	if (command.size()>1) {
	  filename=command.get(1);
	  try {
	    BufferedWriter bw=new BufferedWriter(new FileWriter(command.get(1)));
	    for (int i=0; i<moveHistory.size(); i++) {
	      bw.write(moveHistory.get(i)+" ");
	    }
	    bw.write("\n");
	    bw.close();
          }
          catch (IOException e) {
	    System.out.println("Error saving - "+e.getMessage());
          }
	}
	else {
	  for (int i=0; i<moveHistory.size(); i++) {
	    System.out.print(moveHistory.get(i)+" ");
	  }
	  System.out.println();
        }
  }