Dynamics of Cables and Chains