[C147_E] Semi-working advanced solution (coin change problem). Needs debugging.