Euler187 saving work 2