Create solution3.cpp