Returns an item located at the specified index.
Use this function to retrieve an item by index. If index is out of range, the returned value is NULL.