Added solution for dna problem.