Gradient Based Search Algorithm In Data