added GenerateRandomBlock()
added GenerateRandomBlock()