Another correction to coins.py
Some scala code, mainly basics from scala lectures.