Here's the test driver and clumsy first stab at a Recognize method. class Class1 { const int WIDTH = 8; const int HEIGHT = 8; [STAThread] static void Main(string[] args) { int totalCalls = 0; int totalGridsEvaluated = 0; int squares = 0; int rectangles = 0; for (int left = 0; left