Linear And Binary Searching In Python