Update Bitcoins.java

Spent some time trying to understand the code. I changed all the relevant code. I did not see any thing that would make any reference errors while changing them.