fixed comp player infinite loop bug. need to fix winning pattern check functions