Fixed cookie-handling and worked on DOM

Fixed an issue with cookiefile filepath and have been resolving errors
in the DOM-document handling.
Seminar 2 pre-report

Added the pre-report for Seminar 2