Some solutions for project euler.