Create exercise2_2.cpp