Primecoin: Rearrange prime.cpp by protocol section and miner section