python iterator from list - Search