Teaching robots by moulding behavior and scaffolding the environment | Synapse