Teaching Neural Module Networks to Do Arithmetic