Added method in runner class to check if a square is empty