Solution for the DNA nucleotide exercise