Added slice operation to ArrayRDD