An Explanation of Decentralized Exchanges