Simple Harmonic Motion (string-mass system)

its nor 100%, but there's some motion already.
code not clean. idk if its really right.