fixing the way change is made to consider the change available in the bank.
improving documentation.