automated pac-man level three in netlogo