merge sort, easy, if too much I/O, using printf and scanf