who is the man who invented the law of gravity?