Sorts out exact change for use on buses and so forth. (Requestbot from @M_Fkill)

Original here.