optimize code by using Set to contains the favorite food names to speed up the init phase.