documentation for mastermind.rb