Codes for project euler