Iterating Over Arrays In Python 3