Linear Search In Python Algorithm