Create exam.cpp