¿Cómo se originó el socialismo?