add #stat method to Enumerable. move #sum from Array to Enumerable.
update README.md
add a .gitignore