move binary search algoritm to shared folder