tested without IO
	modified:   assignment4/as4/main.cpp