My attempt at project euler problems.