use list rather than array initialiser for xor_shift