How To Make A Nested For Loop In Python