Collective behaviour in cellular neural networks to model the central pattern generator