add function to calculate force between two planets