Version 1
update miner.py