Added paragraph numbering

Also added newlines at the ends of files.