Added collision detection (bodies combine and linear momentum is conserved)