This is a very handy algorithm that I came across today, which is, according to this paper, due to John von Neumann. […]