Sequence Pattern Algorithm Matching