updated coinchange.c