A set of utility functions I've found useful for doing project euler problems.