ethereum atomic cross-chain trading.
based off of: https://en.bitcoin.it/wiki/Atomic_cross-chain_trading
to test:
./run.py main
About this contract: This is the ethereum-half of the atomic cross-chain trade. The bitcoin half looks like the wikipedia article.