Python Loop Through Array Of Strings In Matlab