Create main.cpp

Solution to Problem 3