My tries at the euler project.