Create allocate.cpp