Added optional flag to specify output index in unspent input transaction. Defaults to 0 (first index)
Merge pull request #3 from soroushjp/input_index_flag

Added optional flag to specify output index in unspent input transaction.