Jul 7, 2022
Thanks for your comment, and glad you found it useful. I deliberately used a very simple implementation to try to make it clear, but there are some libraries around that provide more practical implementations. I will try to do a follow up article about that when I get a chance.