How to simulate early bitcoin mining?
Check this: https://en.bitcoin.it/wiki/Testnet

The testnet is an alternative Bitcoin block chain, to be used for testing. This allows application developers or bitcoin testers to experiment, without having to use real bitcoins or worrying about breaking the main bitcoin chain.