Simulation of language change