add one-dimensional_pattern_recognition.c