Synthesizing Programs for Images using Reinforced Adversarial Learning