Add C++ code for computing digit sum of factorials.