solution ........\Q1.cpp ........\Q2.cpp ........\Q3.cpp ........\Q4a.cpp ........\Q4b.cpp ........\Q5.cpp