Program to calculate amount of change to give