NBodies simulation with executors and threads in Java