Adding main3.cpp