adding comments to Euler Problem 40