A fast and simple algorithm for the Money Changing Problem