corrected requirement of tasks
corrected requirement og task 1 i main.cpp
corrected requirement og task 2 i main.cpp

and exchange std::cout to std::cerr in exception catching