Examples from PLAI text book