Added spring. Fixed the bug in collision class.