Woman pens book about her 4-year relationship with an inmate