Fixed code

Fixed line 236 making the code not work, Readied the getCoins() method.
Merge pull request #2 from xinfinimanx/patch-2

Fixed code