Emergent Heterogeneous Swarm Control Through Hebbian Learning