Update Program.cs

Updated the patterns to dynamically assign themselves. Broke the actual program. I'll fix it later.