Boundary checking. Knight move patterns.