Initial gravity framework

Code is in place to perform an n-body gravity simulation. Still needs to
be optimized.