Infinidat Interview Question

implement iterator that iterates over even indices of an array.