Oscillations of a rocking block with an added pendulum