Python miner for bitcoin