Added html file output

Fixed some problems

Fixed more things
Merge pull request #285 from SkuliOskarsson/html_output

Added simple HTML output