add new bin/codebreaker #generate_secret_code function. add at_exit hook.