Writing professor Susan Shapiro has consolidated her classes into a book — and free publishing panels around the city