Added Javascript version.
Tries is now incremented. guess() now returns true/false (so possible future calling programs can make decisions based on that).
Merge pull request #1 from bazmegakapa/master

Javascript version.