Changed output and return values of searches

Number of nodes expanded and the number of moves taken are now included
at the end of the output files for each type of search.