Created our_map method on array class