Zips a directory into a specified zip file name.
the name of the zip file
the directory to be compressed
if there was an error creating the zip file or adding the directory