Added switching patterns on and off

Put a third parameter in the patterns file, to switch a pattern on (Y)
of off (anything else).