Assertions-and-Exceptions homework