FINALLY FIXED THE CHECK DIAGONAL WIN