Fix 'determine_winner' method; AI outputs correct game resutls