Code for "Generalization Differences between End-to-End and Neuro-Symbolic Vision-Language Reasoning Systems"