This is the primary method. It creates a new jar file including all the files in the provided
directory, but excluding those that one of the file types specified in argument "ignoreTypes"
The jar file is not actually created until method "save" is called.
jarPath - - the location of the jar file
directory - - the directory containing the files to be included
ignoreTypes - - a list of file types to not be included in the jar
Description of the Return Value
java.io.IOException - Description of the Exception