Added a loop in the RK4 function in order to generalize to more planets. Changed RK4 to void