I wish I could help you figure it out, but I don't know much about these types of algorithms. Possibly, they already exist and you can plug them in. I know there's a lot of work done on maze-generation in games, maybe you can think of the tunnels as a maze, and pre-generate a path they will take, and update that model as other ants interact with it. Anyway I love the enthusiasm and wish you luck!