Create mining 2x2

a tunneling program in future will take the variables at the top away and use variaables that i get from command line