Commit 3

Working coin generator
working gem generator function (needs level tuning)