Solves the Change Problem using Python.