Rewriting ruby's map method for Arrays using Rspec and Ruby.