Create Q5.cpp