Algorithm To Implement Linear Search