changed mastermind.rb