@Override
    public boolean equals(Object obj) {
        if (obj instanceof Codon && ((Codon)obj).getN1() == n1
                && ((Codon)obj).getN2() == n2 && ((Codon)obj).getN3() == n3) {
            return true;
        } else {
            return false;
        }
    }