How to write the beginning middle and end of a novel