improved quadtree and quadtree based collision detection
merged Collision.elm