Added NBody java implementation