Arithmetic Progression using C++ Recursion