merge sort haskell implementation
merge sort erlang implementation