The 2nd homework for IIS class.