Working with seeds and bitwise operators and shifting