Leader emergence in artificial populations: the role of networks