Update miner.py

code commented