Automated Program – Correlation-Based Pattern Matching