Create PartitionList.cpp 

TLE 
why
and when i check the memory
for test case (2,1,3) 2
the return will be 1->2->3->null->null->null.....
should it be like this?