Solutions to problems from rosalind