added support for a third parameter: Output directory and the creation of the directory if it does not exists
Merge pull request #3 from scips/output-directory-parameter

added support for a third parameter