Create LENGFACT.cpp