Problem solutions for project euler