Linear Search Algorithm Python Code