using sets to solve problems - Search