To this end, the prison system must use every curative, educational, moral, spiritual or other means and every form of assistance available to it to reduce as much as possible the conditions which weaken the prisoner's sense of responsibility, the respect for the dignity of his person and his capacity for social rehabilitation.