updated to allow easier irb usage
rewrote inject as my_inject, using TDD