Seed the RNG properly

`random` is seeded by `srandom`, not `srand`