Cyberbit interview question

implement merge sort