Diagonal win-checker a bit optimized