Added Log writing. More detailed logs which include outcome for each trial