add problem_004.cpp
add problem_004 solution