Adding Functional\pick()

Pick a single element from a collection of objects or arrays by index.
If no such index exists, return the default value.
you can just set the array above