learning rspec using the codebreaker example in the Pragmatic Programmers 'Rspec Book'