Create Question2.cpp

Assignment 1 question 2