Source code accompanying my M.A. thesis "An exemplar theoretic approach to chain shifts".