faster traversal
linearsearch(data,n,key,pfound,ploc)