Added all-against-all collision
Tried to improve query speed, not sure if worked
If there are too many balls stack overflow may be thrown. TODO: Use MAX_LEVEL to fix that.