added factorial and complex algebra solutions in C++

Added the solution for finding factorial in C++.