Linear Search Algorithm with Python