analyzing locomotion of ants