Added task1.cpp
Fixes
Added c++ tasks