beginning of first pass of "A Self Reproducing Program" solution