Create phi.cpp