Calculator for COP3503 using C++