Update programAssin2B.cpp