Added function and test for interiorCells() in DeviceGrid
Added function interiorCells() for DeviceGrid