exer2.cpp

submission..