how to pre-plot and write the beginning middle and end of a novel