logic gates activity - Search