Implement the distributed binary search way to find a median across different machines. Simulating the multiple machines behavior with multiple threads. Although the distributed median searching algorithm is implemented correctly, there is a synchronization issue when using CyclicBarrier which causes the tests randomly hangs sometimes (nearly 1 out of 4 times). I had to take a rest and may try to solve it next time.