getting things in.
updating gitignore
adding a test and making the js work.
Merge pull request #2 from cbdr/Algo

Algo