Find My Hat - My solution


I knocked out Find My Hat during the last couple of hours. Here’s the gist. I tested it thoroughly, so please try and poke holes in it. I have yet to add the .generateField static method, but this should be straightforward. I also plan on doing the field validation extension, which requires iterating through the entire two-dimensional array in search of the hat. If not hat is found, the field is unsolvable.