Modelling and inference for the movement of interacting animals