Friction in a Model of Hamiltonian Dynamics