Code for articles at www.randomslices.com