Add newline after every leaf node that isn't also a head

Closes issue #1