Create Miner.cs

Here the main algorithm will live