Added contrib/miner.py and contrib/claim.py