Add ability to extract multiple array indices
The current implementation of the array extraction will only grab a single index from the array.
It would be a good idea to make the array index selection more capable, by i.e. letting multiple array indices be extracted.