Her 1983 book "Dr. Ruth’s Guide to Good Sex" was the first of 40 she wrote