Solution to The Impossible Bet | The 100 Prisoners Problem