added output log file to mastermind