Small utility for simulating an LFSR