Super basic example of map reduce using Ruby