solved Euler #2