Forgot to close I/O streams.
Minor changes.
Created coin change program.