First solution. Needs tests

http://rosalind.info/problems/dna/