The award-winning writer was killing time until a library visit changed everything.