According to doc, Scala ParArray is to use parallel computing inside the element operations.
I am now having a operation def fun(index: Int)(i is the index a
def fun(index: Int)