Algorithms for bioinformatics problems of Rosalind