PatternAlgorithm3

New Pattern Algorithm Inserted