Inmates turn incarceration into profit