Create hw2q5.cpp