move_to_cell() moves agents between cells