A fully scalable tic-tac-to script that takes an n*n array and determines if there is a winner.