ALCOR: a dynamical model for hadronization