So the problem is to find a given element within a list using Binary search when I run the program I get the error \'int\' object has no attribute pop() while the object \'n