Searching Algorithms In Python