Slowish C solution for 417.
Merge branch 'master' of github.com:LaurentMazare/ProjectEuler