Create partition.cpp