started to read up about Ex.2, created an initial main.cpp