Euler project code snippets