python foreach over array