Solutions to Project Euler and Rosalind