How does mining for litecoins work