multiline doctests executed with their newlines
improved doctests (mostly formatting)
enforced an 80-character line length limit