I created a few boxes in a 3x3 pattern. I want each pattern to be stored with a value from 1-9. I\'m unsure of how exactly how to do this.
My current code is this: