partitionList.cpp