Create prob2.cpp