Fixed coins.py