C++ code that factors an integer.