Shakespear analyzer solution - TDD