Create 8.py

not much to say, just simple nested iteration