A Dataset and Architecture for Visual Reasoning with a Working Memory