Adding the first algorithm which is a search algorithm.