Changed boardInit to single array and created row and col win conditions