I am trying to write some code for a n body problem and I have encountered a runtime error, and I don\'t know why. I have managed to get the code working in a basic loop wit