Added merge sort framework.
Implemented merge sort.