itertools examples

examples for itertools, operator and functools