Solutions for rosalind bioinformatics problem