Prisoner.cpp update

-Put in additional check in Prisoner::useNextID()
-Replied