removed restitution input (defined in code). added integration method choice. extracted collisions detection and drawing. collision detection can now be iterated.