Replaced random functions with andy random()
added randomSeed