code searches through a file and find all of the access point automatically. only by looking at the first sample. bugs in the code are that, code cannot differentiate when samepleID =1 ,or value s 1. this will not work