Second iteration of Bob, replacing a let with a where
Second iteration of sublist: use isInfixOf