Quad Tree data structure for Barnes-Hut simulation