Python For Loop Over Array Of Strings Matlab