Exercise "Assignment and type safety "