finish the first version, not tested yet
	modified:   assignment2/as2/main.cpp