Temporary Solution: Add loop_count++ to prevent infinite loop for binary search function