the purpose of a prison is to confine people