modified:   assignment4/as4/main.cpp