Social norm emergence in virtual agent societies