refactors dna.rb
renames hash variable to counts