Project Euler: Correction to utility classes.