finish tictactoe.rb , bug when switching players, no smart AI