code: public static void addAlgorithm(StructureAlignment alg) {
  		//ensure uniqueness
  		try {
  			getAlgorithm(alg.getAlgorithmName());
  			// algorithm was found. Do nothing.
  		} catch(StructureException e) {
  			// no algorithm found, so it's new
  			algorithms.add(alg);
  		}
  	}
docs: Adds a new StructureAlignment algorithm to the list.
  
  Only one instance is stored for each algorithmName, so it is possible
  that a different instance may be returned by getAlgorithm(alg.getAlgorithmName())
  
  @param alg the alignment algorithm