Makers Academy Week 2 challenge to recreated Ruby's INJECT method