Create partitionProblem.cpp