A toy version of cut written in the D programming language