Add more versions of algorithms