Wrote code to associate springs with the pointmasses.