how was the third law of motion discovered