Program based on the code of the rspec book