Makers academy challenge to rewrite the array 'inject' method