In California's San Quentin prison, gangs, violence and boredom combine to create a dangerous mix for inmates and officers.