I'm trying to replicate the movement of 2 masses, m1 and m2.

m1 has a free fall movement and will collide with m2, which is attached to a string with constant k. i'm using the euler-cromer method...