http://www.nxcoding.com/archives/blockchain-and-money-lecture-5-transactions-utxo-script