Basic implementation of LFSR aka Tausworthe generators.