added verlet code and demo