Tried to add checking for win conditions

Need to remember that the win conditions are in a n*n board, not just a
3*3