Added error, evaluation, and simple search algo