Implementation of different searching algorithms