Solving the rendezvous problem for multi-agent systems using contraction theory