Cyberbit Interview Question

implement merge sort