Worked the first three problems on Project Euler.