Scrapes until next 'top' link, rather than counting divs.
Fixed bug double-writing some opening div lines.
All exercise and challenge section headers written at <h2> level.