Cleaned the Python stuff, added a ruby binary search