Add .gitignore
Refactor #each=>#inject
Clean syntax and indentation
Merge pull request #21 from pczarn/fix

Cleaner syntax and .gitignore