Added the starter code from blackboard. to main.cpp