Provided python DP solution to change-making problem