Added code for second module

Code for mergesort (and insertionsort)