I had submitted this a while back. I finally got around to releasing the source code. It’s nothing fancy, just something I wrote on a whim.
You may want to check this book if you have not read it already.
I have. It’s excellent. Highly recommended. :)