Add hash variable declaration before the solve block loop in the mining script.
Merge branch 'hashing-ruby' of https://github.com/BHazel/AltCoinSamples into hashing-ruby