Fix binarysearch.py on linux

-Add shebang
-Fix line endings