Finished <ul> generation

<ul>, <li>, </li> and </ul> tags are now correctly placed. Try...except
blocks should be enough to catch when it is the last line.

Underlines should be added next, followed by headings and images