Before 1950, prison gangs didn’t even exist. Now, they control much of inmates’ daily lives —and not just on the inside.