Novelist and short story writer whose Frankenstein is considered the first work of science fiction and a foundational text of the Gothic tradition.