Added merge sort

a few other methods added to ease things out.