CodeBreaker kata solution

I applied TDD creating my solution.