Update partionList.cpp