Rosalind Algorithm sol