Add a class to turn a number into a vector of digits and make some sums
from it.
Test the DigitSums class for problem 30.
Do problem 30 in C++.