homework for cs111: review