Python Loop Through Array Of Arrays In Python