Fixed that duplicated arr variable is defined as value in DataGenerator....

Compile error and throws out since 'arr' variable is already defined as value in DataGenerator.scala