Gravity simulation in C using Barnes-Hut algorithm.