Put together a simple frequency analyser + unit test for it