create tictactoe controller with index view