It's working, but gives weird results - sometimes it says that population is full of egoists, but sometimes, there are altruists. I guess, start values do matter.