added your basic search and sort algos
number pairs