Using Itertools 1

Using the you wrote for Assignment 3, examine the code in light of your understanding of the itertools module. Can you simplify the way you’re doing anything using itertools methods? Are there any opportunities for improving the performance of you code further using itertools?

Place the modified code in a file called and commit it to the same repository.