adding Ben's euler 3 c++ solution