The PATTERN-HANDLING Software Package