Project euler problems in groovy with some java utility classes.