Mobile agents on simple networks : social distancing, gathering, dispersion and search games