add some fun algo implementations