Create factorial.cpp

Factorial Calculation in main function.