Search Algorithm working

Need to implement way to store or calculate record number