Create pattern.c