Dynamics of the cluster model of protein folding