Added random int array trial, minor changes.