Linear Search In Cpp