Refactored function to find blank squares in adjacent grid squares