Update MinerWorker.scala

Changed k from BigInt to Int.