Added main method to tictactoe