Inmates gamed their prison-issued tablets to get $225,000 in credits