Dynamics of Oscillators with Impact and Frictiont