tictactoe: add checking for both diagonals in win condition, cleaner initialization