Reward-Guided Synthesis of Intelligent Agents with Control Structures | Synapse