Added fact.cpp to series 12