Create libsub.cpp