Merge pull request #4 from blabno/exercise5

Exercise 5 Readme and code formatting
Add tests and small fixes
npm test misconfigured #13