Writing A Linear Search In Python