I guess I should import itertools if I want to use it.