Add a rudimentary Grid class plus some JUnit tests.