Evolutionary agent-based model of hosts and plasmids