An Introduction to Automated Market Makers (AMMs) and Their Role in Token Swaps