Just a simple AMM to use in some examples

half_first_cousin_amm

Source

Simply wrote this down.