added pseudo code for cash-out method
pseudo code for cash_out method