added Search interface and class frames

GreaterthanSearch and LessThanSearch implement Search interface