tictactoe not working :(

I was thinking about making it 
1) not check for wins until after currentplayer takes 3 turns. 
2)make the check for win smaller by making the cells into arrays