Implementing Project Euler problems