Fully working Riecoin solver for first block