Create pig.cpp