Hi James,

I think if you assigned the unique number for prisoner then only we have a solution. Otherwise according to my knowledge there is no general solution for this problem...

If you have a solution then post here...i will find the error.

-------------------
suresh