Project Euler problem snippets