Add project euler 21 solution in c++