Generate blocks as per input utxo curve

Added support for accepting input CSV and mining to generate block vs utxo count accordingly. Currently very similar to generating tx curve but instead of using up the whole utxo amount, we divide into two and send back the change, so in effect each tx creates a new utxo.