Probleam solving in Project Euler