Added main.cpp for C++ learning