Implementing Project Euler's little coding challenges