Fixed typos

Replaced String values in the map with integers; also `Map` doesnt have a `set` method, it should be `put`
Merge pull request #11 from ajaykeshri/patch-1

Fixed typos