Added dead prisoner check

-See previous update for more details