Update Problem8.cpp