Added main.cpp for exercise 2 [not finished]