Small code snippets to solve problems of the Euler project