added main.cpp

just a copy of assignment 2 atm,