Update Q4.9 sum_path.cpp