public void insertCodon(Codon newCodon){
		
		boolean isAdded = false;
		
		// no codons are in array list yet just pop in front
		if(this.codons.size() == 0){
			this.codons.add(newCodon);
			isAdded = true;
		}
		
		// codons are already in array find appropriate spot
		else{
			for(int i = 0; i < this.codons.size(); i++){
				if(this.codons.get(i).frequency < newCodon.frequency && isAdded == false){
					this.codons.add(i, newCodon);
					isAdded = true;
				}
			}
		}
		
		if(isAdded == false){
			this.codons.add(newCodon);
		}
	}