Revert "Remove pointless 0 check."

This reverts commit 75bc8475c2748aa624d54c65ac55330c59d05fa3.
Implement seeding for XorShift.
Iterate in memory order in `room_to_tiles`.