illegitimate child's substituted right of inheritance