Your new cellmate in a maximum-security prison is the last man you want to share four walls with — but survival has a way of rewriting the rules.