Posted on 13 April 201211 October 2017 by Tom Beware of bugs Beware of bugs in the above code; I have only proved it correct, not tried it. Donald Knuth (in 1977; explanation here) Share this:Share Click to share on X (Opens in new window) X Click to share on Facebook (Opens in new window) Facebook Click to share on LinkedIn (Opens in new window) LinkedIn Click to share on Reddit (Opens in new window) Reddit Click to email a link to a friend (Opens in new window) Email Like Loading... Related