First Pattern Matching Algorithm In Data Analytics