Update prob1.cpp

Typo updated in problem1 comment