Added Collisions using quadtree structure through Spatial Partioning