Fixed subdivide, added random coloring of points

Previous quadtree could only subdivide once, but the formula was fixed
to accommodate for any location of center points.