Bitcoin miner in C