Fixed the win condition check, 
bug was difference in \x and \X