Inmate who raped fellow prisoner, sentenced to life behind bars