public static void main(String[] args) throws NoSuchFileException, IllegalArgumentException {
    	
    	if (args.length == 3) {
    		
        	Draft.checkHash( args[0] );
        	Draft.checkRange(args[1], 4, 15);
        	Draft.checkPath( args[2] );
        	exec(args[2], args[0], Integer.parseInt(args[1]));
        	
    	} else if (args.length == 0) {
    		
        	String path = GetInput.askPath("Path to the file");
        	String hash = GetInput.askHash("Hash function");
        	int b = GetInput.askParameterInRange("Parameter b", 4, 15);
        	exec(path, hash, b);
        	
    	} else
    		throw new IllegalArgumentException("Wrong number of arguments (3 expected)");
    	
    }