class taken from http://www.journaldev.com/957/java-zip-file-folder-example, thanks Pankaj.
This method zips the directory