Added seeded random library; added seed.