add inital ai.js for tic-tac-toe