added second problem solution for project euler