Added a simulation for a mass-spring system with friction