Create partitionList.cpp