adding merge sort in python (way easier than C++ btw since Python is easy for array slicing and appending additional element onto array)