Mobile Development Project Euler Solution