Added a custom implementation of an array that search by index.