On the numerical solution of non-linear string problems using the theory of a Cosserat point