02_Cpp Pull Request from Sam Bowdler (samsab)

Actually, this is a pretty good way to do it. In fact you could stop at sqrt(n), rather than going all the way to n/2 ...