Bacterialmodel in netlogo and Java