Worked out a means to check for a diagonal win.