Implementing standard search algorithms