Added argument parser to miner.py