Given a phrase, count the occurrences of each word in that phrase.
For example for the input "olly olly in come free"
olly: 2
in: 1
come: 1
free: 1
Install assignment dependencies:
$ yarn
Execute the tests with:
$ yarn test
This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.