quad tree and collision detection
still not working properly :D