Add eachPair method to hash
Added .travis.yml