Adding the coin change problem in python and ruby