Added collision prediction using Quadtrees.