commit after find a bug in the logic of angular, now a completely working logic for tic tac toe